<?

		$sql['wheres'][] = "custom_sort mod 10 = 0";
		$sql['order'] = "custom_sort, ".$sql['order'];
		
		function searchbreak(&$c,$start='',$end='') {
			if (empty($c)) {//its the last one
				print $end;
				return;
			}
			return true; //we dont disable any images...
		}